package com.huawei.esdk.tp.domain.model.bean;

import java.util.Date;

public class PointToPointCDR {
	private String callingUri;
	private Integer callingProtocol;
	private String calledUri;
	private Integer calledProtocol;
	private String rate;
	private Date startTime;
	private Date endTime;

	public String getCallingUri() {
		return callingUri;
	}

	public void setCallingUri(String callingUri) {
		this.callingUri = callingUri;
	}

	public Integer getCallingProtocol() {
		return callingProtocol;
	}

	public void setCallingProtocol(Integer callingProtocol) {
		this.callingProtocol = callingProtocol;
	}

	public String getCalledUri() {
		return calledUri;
	}

	public void setCalledUri(String calledUri) {
		this.calledUri = calledUri;
	}

	public Integer getCalledProtocol() {
		return calledProtocol;
	}

	public void setCalledProtocol(Integer calledProtocol) {
		this.calledProtocol = calledProtocol;
	}

	public String getRate() {
		return rate;
	}

	public void setRate(String rate) {
		this.rate = rate;
	}

	public Date getStartTime() {
	    if (null != startTime)
	    {
	        return (Date)startTime.clone();
	    }
	    else
	    {
	        return null;
	    }
	}

	public void setStartTime(Date startTime) {
	    if (null != startTime)
	    {
	        this.startTime = (Date)startTime.clone();
	    }
	}

	public Date getEndTime() {
	    if (null != endTime)
	    {
	        return (Date)endTime.clone();
	    }
	    else
	    {
	        return null;
	    }
	}

	public void setEndTime(Date endTime) {
	    if (null != endTime)
	    {
	        this.endTime = (Date)endTime.clone();
	    }
	}

}
